package org.jeecg.modules.product.basics.service.impl;

import org.jeecg.modules.product.basics.entity.TbPeopleRewardsPunishments;
import org.jeecg.modules.product.basics.mapper.TbPeopleRewardsPunishmentsMapper;
import org.jeecg.modules.product.basics.service.ITbPeopleRewardsPunishmentsService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 奖惩记录
 * @Author: jeecg-boot
 * @Date:   2024-07-05
 * @Version: V1.0
 */
@Service
public class TbPeopleRewardsPunishmentsServiceImpl extends ServiceImpl<TbPeopleRewardsPunishmentsMapper, TbPeopleRewardsPunishments> implements ITbPeopleRewardsPunishmentsService {
	
	@Autowired
	private TbPeopleRewardsPunishmentsMapper tbPeopleRewardsPunishmentsMapper;
	
	@Override
	public List<TbPeopleRewardsPunishments> selectByMainId(String mainId) {
		return tbPeopleRewardsPunishmentsMapper.selectByMainId(mainId);
	}
}
